package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesGoodsSpecification;
import com.sl.mes.db.vo.MesGoodsSpecificationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesGoodsSpecificationMapper {
    long countByExample(MesGoodsSpecificationExample example);

    int deleteByExample(MesGoodsSpecificationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesGoodsSpecification record);

    int insertSelective(MesGoodsSpecification record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsSpecification selectOneByExample(MesGoodsSpecificationExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsSpecification selectOneByExampleSelective(@Param("example") MesGoodsSpecificationExample example, @Param("selective") MesGoodsSpecification.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesGoodsSpecification> selectByExampleSelective(@Param("example") MesGoodsSpecificationExample example, @Param("selective") MesGoodsSpecification.Column ... selective);

    List<MesGoodsSpecification> selectByExample(MesGoodsSpecificationExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsSpecification selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesGoodsSpecification.Column ... selective);

    MesGoodsSpecification selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsSpecification selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") MesGoodsSpecification record, @Param("example") MesGoodsSpecificationExample example);

    int updateByExample(@Param("record") MesGoodsSpecification record, @Param("example") MesGoodsSpecificationExample example);

    int updateByPrimaryKeySelective(MesGoodsSpecification record);

    int updateByPrimaryKey(MesGoodsSpecification record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") MesGoodsSpecificationExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_specification
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}